import React,{Component} from "react";
import { Radio, Button } from 'antd';

const RadioGroup = Radio.Group;

export default class Sapp extends Component{
    onChange = ()=>{
        console.log("123",123);
    }
    render(){
        return (
            <RadioGroup name="radiogroup" defaultValue={1} onChange={this.onChange}>
              <Radio value={1}>A</Radio>
              <Radio value={2}>B</Radio>
              <Radio value={3}>C</Radio>
              <Radio value={4}>D</Radio>
            </RadioGroup>
          );
    }
  
}
